//---------------------------------------------------------------------------
#ifndef ConfUsuH
#define ConfUsuH
//---------------------------------------------------------------------------
#include <Classes.hpp>
#include <Controls.hpp>
#include <StdCtrls.hpp>
#include <Forms.hpp>
#include "DialPad.h"
#include "PHDS.h"
#include <ExtCtrls.hpp>
#include "PHCheck.h"
#include <Buttons.hpp>
#include "PHCombo.h"
#include "PHLabel.h"
#include "DIALPAD.h"
#include <ComCtrls.hpp>
#include "PHEdit.h"
#include <Mask.hpp>
//---------------------------------------------------------------------------
class TDPConfUsu1 : public TDiPad
{
__published:	// IDE-managed Components
        TBitBtn *BitBtn1;
    TPageControl *PageConfig;
    TTabSheet *TabOpcoes;
    TTabSheet *TabEmail;
    PHCheckBox *PHCheckBox3;
    PHCheckBox *PHCheckBox4;
    PHLabel *PHLabel3;
    PHComboBox *PHComboBox3;
    PHLabel *PHLabel1;
    PHComboBox *PHComboBox1;
    PHDataSource *DSEmail;
    PHLabel *PHLabel2;
    PHEdit *PHEdit1;
    PHLabel *PHLabel4;
    PHEdit *PHEdit2;
    PHLabel *PHLabel5;
    PHEdit *PHEdit3;
    PHLabel *PHLabel6;
    PHCheckBox *PHCheckBox1;
    PHLabel *PHLabel7;
    PHEdit *PHEdit5;
    PHLabel *PHLabel8;
    PHEdit *PHEdit6;
    PHLabel *PHLabel9;
    PHEdit *PHEdit7;
    PHLabel *PHLabel10;
    PHEdit *PHEdit8;
    TBevel *Bevel1;
    TLabel *Label1;
    PHCheckBox *PHCheckBox2;
    TBevel *Bevel3;
    TLabel *Label2;
    TBitBtn *BtnRemoverEmail;
    TBevel *Bevel2;
    TMaskEdit *mEditSenha;
    TBitBtn *BtnTestarConexao;
    TBitBtn *BtnAdicionar;
    void __fastcall BitBtn1Click(TObject *Sender);
    void __fastcall FormClose(TObject *Sender, TCloseAction &Action);
    void __fastcall FormCreate(TObject *Sender);
    void __fastcall BtnRemoverEmailClick(TObject *Sender);
    void __fastcall DSEmailBeforePost(TObject *Sender);
    void __fastcall BitBtn2Click(TObject *Sender);
    void __fastcall DSEmailStateChange(Estados State);
    void __fastcall PHEdit3Enter(TObject *Sender);
    void __fastcall BtnTestarConexaoClick(TObject *Sender);
    void __fastcall FormDestroy(TObject *Sender);
    void __fastcall BtnAdicionarClick(TObject *Sender);
    void __fastcall PHEdit7Exit(TObject *Sender);
    void __fastcall PHEdit8Exit(TObject *Sender);
    void __fastcall PHCheckBox2Click(TObject *Sender);
    void __fastcall mEditSenhaExit(TObject *Sender);
    void __fastcall PHEdit3Exit(TObject *Sender);
    void __fastcall PHEdit2Exit(TObject *Sender);
    void __fastcall PHCheckBox1Click(TObject *Sender);
    void __fastcall TabOpcoesShow(TObject *Sender);
    void __fastcall PageConfigChange(TObject *Sender);
private:	// User declarations
    bool __fastcall UsuarioPodeEnviarEmail();
    void __fastcall HabilitaTesteConexao();
    void __fastcall AplicaFiltro();
    void __fastcall InsereEmail();
public:		// User declarations
    __fastcall TDPConfUsu1(TComponent* Owner);
};
//---------------------------------------------------------------------------
extern PACKAGE TDPConfUsu1 *DPConfUsu1;
//---------------------------------------------------------------------------
#endif
